-- GENERATED SPELL FOR [Wrathscale Screamer] --


function spell0_17333(pUnit, Event) --@Scream,n/a--
pUnit:FullCastSpellOnTarget(31295,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17333', 6250, 1)
end

function Sorts_17333(pUnit, Event)
local choix_sorts_17333 = math.random(0, 0)
if choix_sorts_17333 == 0 then
pUnit:RegisterEvent('spell0_17333', 1, 1)
end
end

function mob17333_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17333', math.random(1500, 3000), 1)
end

function mob17333_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17333_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17333_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17333, 1, 'mob17333_Action')
RegisterUnitEvent(17333, 2, 'mob17333_Leave')
RegisterUnitEvent(17333, 3, 'mob17333_Kill')
RegisterUnitEvent(17333, 4, 'mob17333_Die')
